package com.raymond.sgip.msg.request;

import com.raymond.client.constants.GlobalConstants;
import com.raymond.sgip.enums.CommandIdType;
import com.raymond.sgip.msg.AbstractSgipMessage;

/**
 * 状态报告请求
 *
 * @author :  raymond
 * @version :  V1.0
 * @date :  2021-08-06 11:28
 */
public class ReportRequestMessage extends AbstractSgipMessage {
    private String submitSequenceNumber;
    private short reportType = 0;
    private String userNumber = null;
    private short state = 0;
    private short errorCode = 0;
    private String reserve = GlobalConstants.EMPTY_STRING;

    public ReportRequestMessage(int sequenceId) {
        super(sequenceId);
    }

    @Override
    public int getCommandId() {
        return CommandIdType.REPORT_REQUEST.getCommandId();
    }

    public String getSubmitSequenceNumber() {
        return submitSequenceNumber;
    }

    public void setSubmitSequenceNumber(String submitSequenceNumber) {
        this.submitSequenceNumber = submitSequenceNumber;
    }

    public short getReportType() {
        return reportType;
    }

    public void setReportType(short reportType) {
        this.reportType = reportType;
    }

    public String getUserNumber() {
        return userNumber;
    }

    public void setUserNumber(String userNumber) {
        this.userNumber = userNumber;
    }

    public short getState() {
        return state;
    }

    public void setState(short state) {
        this.state = state;
    }

    public short getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(short errorCode) {
        this.errorCode = errorCode;
    }

    public String getReserve() {
        return reserve;
    }

    public void setReserve(String reserve) {
        this.reserve = reserve;
    }
}
